package com.dormitory.javadormitory.mapper;


import com.dormitory.javadormitory.entity.UserAccount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface WarrantyMapper {

    @Select("select * from useraccounts where user_id = #{userId}")
    UserAccount findById(@Param("userId") String userId);

}
